1 00:00:00,600 --> 00:00:01,260 Hello there. 2 00:00:01,260 --> 00:00:05,670 Welcome to this video on Javascript datatypes. 3 00:00:05,910 --> 00:00:14,790 Javascript uses several data types to create applications programs in this field. 4 00:00:14,820 --> 00:00:20,980 I am going to go through some of the common data types use by javascript. 5 00:00:21,030 --> 00:00:26,900 There are others but I'm just going to cover some of the common ones. 6 00:00:26,900 --> 00:00:27,290 All right. 7 00:00:27,300 --> 00:00:33,440 These are somewhat the common data types used in javascript. 8 00:00:33,450 --> 00:00:43,770 First one is this string string refers to any data that is regarded as text so a collection of text 9 00:00:43,860 --> 00:00:45,780 is known as a string. 10 00:00:46,140 --> 00:00:57,030 And in javascript and in some programming languages you have to close your strings or text in quotes 11 00:00:57,330 --> 00:00:59,030 as I've done here with John. 12 00:00:59,100 --> 00:01:07,760 So anything that is the text that you use in Javascript you must close out with quotes in javascript. 13 00:01:07,760 --> 00:01:13,480 You can use high double quotes or single quotes but you can't mix them. 14 00:01:13,500 --> 00:01:20,090 You can for example start with a double quote and then end it with a single quote just won't work. 15 00:01:20,100 --> 00:01:27,120 You have to maintain the type of quotes you use right so that's what string do. 16 00:01:27,420 --> 00:01:33,280 Then you've got the number data number refers to numeric data. 17 00:01:33,510 --> 00:01:40,880 For example why 7 7 saw anything that numerical is referred to as in No data type. 18 00:01:40,890 --> 00:01:45,560 This also includes decimals like three point eight. 19 00:01:45,580 --> 00:01:53,580 Next you've got baldly in bullion is any data that returns true or fours value. 20 00:01:53,820 --> 00:01:59,790 For example is 2 greater than 1 that would return true and so on. 21 00:01:59,940 --> 00:02:07,320 So any data you need to determine if it is true or false is regarded as a boolean. 22 00:02:07,320 --> 00:02:18,580 Next we are on to the three and a really is a piece of data or estorra Each label that stores multiple 23 00:02:18,840 --> 00:02:20,550 values as one. 24 00:02:20,550 --> 00:02:29,850 For example you have a label called fruits and inside that fruit you will store apples grapes berries 25 00:02:30,030 --> 00:02:31,070 and so on. 26 00:02:31,540 --> 00:02:37,720 And you identify and agree with the square brackets so you can see the square brackets in red. 27 00:02:37,740 --> 00:02:44,190 You use that to identify that you are dealing with an array with a raise. 28 00:02:44,220 --> 00:02:48,910 The values are indexed from 0 for example. 29 00:02:48,930 --> 00:02:53,240 The first value is zero and then 1 and 2. 30 00:02:53,280 --> 00:03:00,620 So if you want to call this a reference this apple you do fruit's a square braggers and then 0. 31 00:03:00,690 --> 00:03:05,690 That would mean you were referring to the Apple Apple inside the fruits. 32 00:03:06,150 --> 00:03:14,330 So this is how you will create a very and they are used to store multiple data as one value. 33 00:03:14,790 --> 00:03:16,420 Next is the law. 34 00:03:16,440 --> 00:03:25,890 The law basically means the value does not exist doesn't exist for example you are filling out an online 35 00:03:25,890 --> 00:03:33,960 form as something that requires a piece of data that you haven't got the javascript application would 36 00:03:33,960 --> 00:03:35,850 treat that as a NOL value. 37 00:03:35,850 --> 00:03:42,780 For example if you have an e-mail address column and you no longer know the email of that person or 38 00:03:42,990 --> 00:03:48,630 email address doesn't work you can insert in log value in that field. 39 00:03:48,750 --> 00:03:50,690 So that's what normal means. 40 00:03:50,700 --> 00:03:55,130 You can also empty it value by setting it or not. 41 00:03:55,290 --> 00:04:02,240 So this sign here is used to set something so you can have an e-mail address that no longer functions. 42 00:04:02,260 --> 00:04:05,880 It just said that to not means is empty. 43 00:04:06,120 --> 00:04:13,410 So this is a brief description of the sum of the on Javascript data types. 44 00:04:13,710 --> 00:04:23,010 In this video I went through some of the mine data types used in Javascript javascript uses various 45 00:04:23,040 --> 00:04:29,810 data types to create applications and perform various functions. 46 00:04:29,850 --> 00:04:31,980 These are just some of the common ones. 47 00:04:32,070 --> 00:04:35,930 There are others but this will do for a start. 48 00:04:35,950 --> 00:04:39,660 I hope the new has made sense if it hasn't. 49 00:04:39,660 --> 00:04:48,180 Please feel free to let me know and be I'll be more than happy to explain or help in whatever way I 50 00:04:48,180 --> 00:04:48,870 can. 51 00:04:49,080 --> 00:04:52,670 Thank you so much for your help for your time. 52 00:04:52,680 --> 00:04:53,580 Take care. 53 00:04:53,580 --> 00:04:54,290 Bye for now.